<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="css/apps/technics/input.css" type="text/css" rel="stylesheet" />
<script src="scripts/apps/technics/input.js" type="text/javascript"></script>
</head>
<body>
<table align="center">
  <thead>
   <tr>
     <th>产品</th>
     <th>生产单位</th>
     <th>名称</th>
     <th>管理</th>
   </tr>   
  </thead>
  <tbody>
    <c:forEach items="${beans }" var="bean">
     <tr>
      <td>${bean.product.code}[${bean.product.name}]</td>
      <td>${bean.department.name}</td>
      <td>${bean.name}</td>
      <td>
        <a href="javascript:;" onclick="removeMe('${bean.id}')">删除</a>
      </td>
    </tr>
  </c:forEach>
    
  </tbody>
</table>
<form>
<fieldset>
<legend>添加工艺</legend>
<label>
单位
<select name="bean.department.id">
 <c:forEach items="${groups }" var="group">
   <option value="${group.id }">${group.name}</option>
 </c:forEach>
</select>
</label>
<label>
名称<input name="bean.name" />
</label>
<button type="button">添加</button>
</fieldset>
</form>
</body>
</html>